package com.lyy.polymorphic.objpoly;


/**
 * @Author:  GZQ
 * @date:  2024/11/17 18:06
 * @description: 对象的多态演示
 */

public class Cat extends Animal{

    public void cry() {
        System.out.println("Cat cry() 小猫喵喵叫....");
    }
}
